package com.gzq.factorymethod.practice01;


public class TianDao {
	public static void main(String[] args) {
		IBaGuaLu bGuaLu = new BaGuaLuFactory();
		ProductYellowHuman create1 = bGuaLu.create(ProductYellowHuman.class);
		create1.race();
		ProductWhiteHuman create2 = bGuaLu.create(ProductWhiteHuman.class);
		create2.race();
	}
}
